package com.example.qimo;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

public class MainActivity extends AppCompatActivity {
    private static final String Tag="kjd";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Log.i(Tag, "onCreate:");
    }
    public void anote(View btn){
        Log.i(Tag,"Onclilcknew"); //日志设置
        Intent config = new Intent(MainActivity.this,newnote.class);
        startActivity(config);
//        startActivityForResult(config, 505);


    }
    public void searchnote(View btn){
        Log.i(Tag,"Onclilcksearch"); //日志设置
        Intent config = new Intent(MainActivity.this,search.class);
        startActivity(config);
//        startActivityForResult(config, 505);


    }
    public void allnote(View btn){
        Log.i(Tag,"Onclilckall"); //日志设置
        Intent config = new Intent(MainActivity.this,allnote.class);
        startActivity(config);
    }
    public void image(View btn){
        Log.i(Tag,"Onclilckiamge"); //日志设置
        Intent config = new Intent(MainActivity.this,loadimage.class);
        startActivity(config);
    }

}